<div class="portal-chart-content">
    <div class="portal-task-header">
        <span class="title">{{'INDEX_PRMCONTENT' | i18n}}</span>
        <a href="javascript:" class="add-task" act="create_headline" title={{'PRM_CONTENT_ADD' | i18n}}></a>
    </div>
    <div class="portal-prm-body">
        {{if totalCount == 0}}
            <div class="portal-prm-blank">
                <div class="ico"></div>
                <p>暂无头条</p>
            </div>
        {{else}}
            <ul class="portal-prm-list">
                {{each partnerContents as partnerContent i}}
                    <li>
                        <div class="portal-prm-content">
                            <span class="portal-prm-title lfloat">{{partnerContent.title}}</span>
                            <span class="portal-prm-operation rfloat">
                                <a href="javascript:;" class="portal-prm-edit js-prm-edit" contentId="{{partnerContent.id}}"><i></i></a>
                                <a href="javascript:;" class="portal-prm-delete js-prm-delete" contentId="{{partnerContent.id}}"><i></i></a>
                            </span>
                        </div>
                        <div class="portal-prm-info">
                           <span class="lfloat">
                                <span class="portal-prm-publisher">{{users[partnerContent.updatedBy].name}}</span>
                                <span class="portal-prm-time">
                                    <span>编辑于</span>
                                    <span class="portal-prm-datatime">{{partnerContent.updatedAt}}</span>
                                </span>
                           </span>
                           <span class="rfloat">
                               <span class="portal-prm-unpublished">
                                {{if partnerContent.publishFlg == 0}}草稿{{/if}}
                               </span>
                           </span>
                        </div>
                    </li>
                {{/each}}
            </ul>
        {{/if}}
    </div>
    <div class="portal-prm-footer" act="portal-prm-footer">
        <div class="prm_content_pagination"></div>
    </div>
</div>
